package com.rlax.ccdemo.service.user.service;

import com.rlax.ccdemo.service.user.dto.UpmsUserLoginDTO;
import com.rlax.ccdemo.service.user.entity.UpmsUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rlax.corebin.jwt.model.AuthInfo;

/**
 * 用户表 服务类
 *
 * @author Rlax
 * @since 2021-03-31
 */
public interface UpmsUserService extends IService<UpmsUser> {

    /**
     * 登录
     * @param loginDTO 登录对象
     * @return token
     */
    AuthInfo login(UpmsUserLoginDTO loginDTO);
}
